
<legend>Data Nilai Pegawai</legend>
<div class="btn-toolbar">
    <a href="<?php echo URL; ?>data/add_data" class="btn btn-primary">Input Data Nilai</a>
    <a href="<?php echo URL; ?>data/upload" class="btn btn-primary">Upload</a>
</div>

<table class="table table-bordered table-striped" id="example">
    <thead>
        <tr>
            <th>Kode Mata Kuliah</th>
            <th>Mata kuliah</th>
            <th>Nilai</th>                   
            <th>Action</th>               
        </tr>
    </thead>
    <tbody>
        <?php
        foreach ($this->dataList as $key => $value) {
            echo '<tr>';
            echo '<td>' . $value['1'] . '</td>';
            echo '<td>' . $value['3'] . '</td>';
            echo '<td>' . $value['2'] . '</td>';
            echo '<td>
                    <a class="btn" href = "' . URL . 'data/edit/' . $value['0'] . '"><i class = "icon-edit"></i><strong>Edit</strong></a>
                    <a class="btn" href = "' . URL . 'data/delete/' . $value['0'] . '"><i class = "icon-trash"></i><strong>Del</strong></a>
                    
                    </td>';
            echo '</tr>';
        }
        ?>

    </tbody>
</table>

<div class="pagination" >

</div>